package com.alks.function.data.request.chengKong;


import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
public class PcLotHeadRequest extends PageParam {

    @ApiModelProperty("指令")
    private String lotNo;

    @ApiModelProperty("型体")
    private String style;

    @ApiModelProperty("新旧型体")
    private String styleType;

    @ApiModelProperty("颜色代码")
    private String colorCode;

    @ApiModelProperty("颜色名称")
    private String color;

    @ApiModelProperty("合同号")
    private String customPo;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("下单日期开始")
    private LocalDateTime orderStartDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("下单日期结束")
    private LocalDateTime orderEndDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("交期日期开始")
    private LocalDateTime deliveryStartDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("交期日期结束")
    private LocalDateTime deliveryEndDate;

    @ApiModelProperty("品牌")
    private String custom;

    @ApiModelProperty("客人货号")
    private String developmentNo;

    @ApiModelProperty("冲刀")
    private String cutNo;

    @ApiModelProperty("楦头")
    private String lastNo;

    @ApiModelProperty("底模")
    private String moldNo;

    @ApiModelProperty("大底厂商")
    private String soleVendor;

    @ApiModelProperty("季度")
    private String season;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("审核开始时间")
    private LocalDateTime checkStartDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("审核结束时间")
    private LocalDateTime checkEndDate;

    @ApiModelProperty("指令和外包查询所有为null,默认为0查询未检验,审核默认为1，查询所有为2")
    private Integer status;

    @ApiModelProperty("生成状态(1已经生成，2没有生成，0全部)")
    private int generateFlag;
}
